package com.urbanflow.vinci.main;

import java.util.Date;

public class Incident {
	
	// Declaration des variables
	
	private int penaliteIncident;
	private Arret arretIncident;
	private Date dateFinIncident;
	private Date dateDebutIncident;
	private String typeIncident;
	
	// Constructeur par defaut
	
	public Incident() {
		penaliteIncident = 0;
		arretIncident = new Arret();
		dateFinIncident = new java.util.Date();
		dateDebutIncident = new java.util.Date();
		typeIncident = "Inconnu";
	}
	
	// Constructeur avec des parametres
	
    public Incident(int pPenaliteIncident, Arret pArretIncident, Date pDateFinIncident, Date pDateDebutIncident, String pTypeIncident) {
	penaliteIncident = pPenaliteIncident;
	arretIncident = pArretIncident;
	dateFinIncident = pDateFinIncident;
	dateDebutIncident = pDateDebutIncident;
	typeIncident = pTypeIncident;
}
	
	// Accesseurs
	
	public int getPenaliteIncident() {
		return penaliteIncident;
	}

	public void setPenaliteIncident(int penaliteIncident) {
		this.penaliteIncident = penaliteIncident;
	}

	public Arret getArretIncident() {
		return arretIncident;
	}

	public void setArretIncident(Arret arretIncident) {
		this.arretIncident = arretIncident;
	}

	public Date getDateFinIncident() {
		return dateFinIncident;
	}

	public void setDateFinIncident(Date dateFinIncident) {
		this.dateFinIncident = dateFinIncident;
	}

	public Date getDateDebutIncident() {
		return dateDebutIncident;
	}

	public void setDateDebutIncident(Date dateDebutIncident) {
		this.dateDebutIncident = dateDebutIncident;
	}

	public String getTypeIncident() {
		return typeIncident;
	}

	public void setTypeIncident(String typeIncident) {
		this.typeIncident = typeIncident;
	}

}
